home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / THINKC / 5 / MONIKER_ / SOURCE__ / MONIKER_.H < prev   
Text File  |  1992-06-11  |  1KB  |  28 lines

  1. /* Moniker 2.0 */
  2. /* Copyright ⌐1992 by Michael J. Simms */
  3.  
  4. /* miscellaneous constants */
  5. #define    NIL        0L            /* define nil */
  6. #define    kSleep    10L            /* Sleep time for 'WaitNextEvent'. */
  7.  
  8. /* error constants */
  9. #define    kCantRun    256        /* The conditions are not right to run */
  10. #define    kCantOpen    -1        /* The computer failed to open the rsrc file. */
  11.  
  12. /* resource constants */
  13. #define    kErrorALRTid        128        /* "error" ALRT */
  14. #define    kExplainDLOGid        129        /* "save" ALRT */
  15. #define    kPutFile            130        /* "custom put" DLOG */
  16. #define    kErrorSTRs            128        /* Error string list */
  17. #define    kDefaultStr            1        /* The default error STR# index */
  18. #define    kNoAliasMgrStr        2        /* The can't run without System 7 STR# index */
  19. #define    kCantOpenStr        3        /* The can't open file STR# index */
  20. #define    kAliasRsrcID        0        /*'alis' Resource ID. */
  21. #define    kSaveSTRs            129        /* Save STR */
  22. #define    kSaveStr            1        /* The save STR# index */
  23.  
  24. /* flag constants */
  25. #define    kAliasFlag            32768    /* Alias flag for finder info. */
  26.  
  27. /* trap constants */
  28. #define kTrapMask            0x0800    /* Used with 'GetTrapType' */